package com.huluobo.a2107kotlinshopping.net

/**
 *  Created by LC on 2023/11/13.4
 *    const val 代表一个常量,对应Java中的public static final
 */
class Const {
    companion object {
        //        const val baseUrl = "http://www.qubaobei.com"
        const val baseUrl = "http://10.161.9.80:7012"

        const val URL_FOOD = "/ios/cf/dish_list.php?stage_id=1&limit=20&page=1"

        const val URL_LOGIN = "/user/loginjson"

        const val PARAM_USERNAME = "username"

        const val PARAM_PASSWORD = "password"

        const val MEDIA_PARSE = "application/json;charset=utf-8"

        const val URL_REGISTER = "/user/register"

        const val PARAM_RE_PASSWORD = "repassword"

        const val SP_TOKEN = "sp_token"

        const val PARAM_TOKEN = "token"

        const val SP_ID = "id"

        const val URL_HOME_GOODS_LIST = "/goods/info"

        const val PARAM_CURRENT_PAGE = "currentPage"
        const val PARAM_PAGE_SIZE = "pageSize"
        const val PARAM_CATEGORY_ID = "category_id"

        const val URL_HOME_BANNER = "/banner/json"

        const val URL_HOME_NAV = "/gift/json"

        const val PARAM_GOODS_ID = "goods_id"
        const val URL_GOODS_DETAIL = "/goods/detail"

        const val URL_ADD_TO_CART = "/goods/addCar"

        const val PARAM_COUNT = "count"

        const val URL_GET_CART_LIST = "/goods/selectCar"

        const val URL_GET_CATEGORY = "/goods/category"

        const val URL_GET_CATEGORY_GOODS_LIST = "/goods/info"

        const val PARAM_IDS = "ids"

        const val URL_DELETE_CART = "/goods/deleteCar"
    }
}